home *** CD-ROM | disk | FTP | other *** search
- Path: sp115.ocs.lsu.edu!not-for-mail
- From: garaja@unix1.sncc.lsu.edu (Rajabhushan Cherukuri)
- Newsgroups: comp.lang.c
- Subject: How to copy from Array to Array ?
- Date: 4 Feb 1996 17:09:55 -0600
- Organization: Louisiana State University
- Message-ID: <4f3ec3$3vp5@unix1.sncc.lsu.edu>
- NNTP-Posting-Host: unix1-t.sncc.lsu.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hello Everybody:
- I have a simple question on using Arrays and Pointers. Let's say
- that i have two arrays declared as,
- double Array1[15000], and char Array2[15000].
- How do i sequentially copy elements from Array1 to Array2 using "sprintf"
- and "pointers" and how i can print the values in Array2. Any suggestions
- will be appreciated.
-
- RAJABHUSHAN CHERUKURI (RAJ)
- LOUISIANA STATE UNIVERSITY
- garaja@unix1.sncc.lsu.edu
-